//
//  ZoomImageView.h
//  微blog
//
//  Created by Jorn.Wu on 15/9/27.
//  Copyright (c) 2015年 Jorn.Wu(jorn_wza@sina.com). All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZoomImageView;

@protocol ZoomImageViewDelegate <NSObject>
@optional
//图片将要放大
- (void)imageWillZoomIn:(ZoomImageView *)imageView;
//图片将要缩小
- (void)imageWillZoomOut:(ZoomImageView *)imageView;
//图片已经放大
//图片已经缩小

@end



@interface ZoomImageView : UIImageView<NSURLConnectionDataDelegate,UIAlertViewDelegate>{
@private
//    外部不用访问
    UIScrollView *_scrollView;
    UIImageView *_fullImageView;
    
}

@property(nonatomic,weak)id<ZoomImageViewDelegate> delegate;

/**
 * 大图的URL
 */
@property(nonatomic,copy)NSString *fullImageUrlString;


#warning GIF图片处理
@property(nonatomic,strong)UIImageView *iconImageView;
@property(nonatomic,assign)BOOL isGif;

@end
